package com.web_bloks.content.client;

//import com.google.gwt.user.client.ui.Widget;
import com.web_bloks.content.client.ViewPage;
import com.web_bloks.user.client.UserMessageServer;
import com.web_bloks.user.client.StatusMessageServer;

/**
 * 
 * @author Jean-Lou Dupont
 *
 */
public interface BasePage {

	public void setBody(ViewPage contentPage);
	
	/**
	 * Verifies if the current page displayed
	 * bears the name 'pagename'.
	 */
	public boolean isCurrentView(String viewname);
	
	public void onBeforeChangingBody();
	
	public StatusMessageServer getStatusMessageServer();
	
	public UserMessageServer getUserMessageServer();
	
}//END
